 <%@ page pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>

	<link href="${pageContext.request.contextPath}/registercss/bootstrap.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/registercss/font-awesome.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/registercss/animate.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/registercss/style.css" rel="stylesheet">
</head>
<body>
   <div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h3 style="color: red">重置密码</h3>
            </div>
            <div class="ibox-content">
                <form method="get" action="${pageContext.request.contextPath}/User_TbServlet/xiugai" class="form-horizontal">
                     <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-2 control-label">请输入账号</label>
                        <div class="col-sm-4">
                            <input type="text" class="form-control" name="user_name">
                            <div id="user_nameMag" style="color:red;float:right"></div>
                        </div>
                    </div>
                 
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <div  style="text-align:center" class="col-sm-4 col-sm-offset-2">
                            <button  class="btn btn-primary" type="submit">下一步</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
    <!-- 全局js -->
    <script src="${pageContext.request.contextPath}/registerjs/jquery.min.js"></script>
    <script src="${pageContext.request.contextPath}/registerjs/bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/registerjs/jquery.metisMenu.js"></script>
    <script src="${pageContext.request.contextPath}/registerjs/jquery.slimscroll.min.js"></script>
  

    <!-- 自定义js -->
    <script src="${pageContext.request.contextPath}/registerjs/hplus.js"></script>
    <script type="text/javascript" src="${pageContext.request.contextPath}/registerjs/contabs.js"></script>

    <!-- 第三方插件 -->
    <script src="${pageContext.request.contextPath}/loginjs/jquery.validate.js"></script>
    
    <script src="${pageContext.request.contextPath}/registerjs/pace.min.js"></script>
    
      <script src="${pageContext.request.contextPath}/registerjs/layer-v3.1.1/layer/layer.js"></script>
      
        <script src="${pageContext.request.contextPath}/registerjs/bootstrap-datepicker.js" ></script>
</body>

  
  <script>
	   $('form').validate({
	        rules:{
	        	user_name:'required',
	        },
	        messages:{
	        	user_name:'账号不能为空',
	        },
	        errorPlacement: function(error, element) {  
	            $('#'+element.attr('name')+'Mag').append(error);
	                //alert('#'+element.attr('name'))
	               }
	   }) 
	


</script>
</html>